# Maintainer:
pkgname=bootinfo
pkgver=0.1.0
pkgrel=3
pkgdesc="Bootloader info for ARM devices"
url="https://git.sr.ht/~martijnbraam/bootinfo"
arch="noarch"
license="GPL-3.0"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/bootinfo/archive/$pkgver.tar.gz"
depends="python3"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-pytest"

build() {
	python3 setup.py build
}

check() {
	pytest bootinfo
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
88723e0cd5d8e52b21badb47d1ccbd258934b473256092a919301492d2a45e2d2dc045a8ff98c92a26be1c03975b01767879b1d671e2fd63a135b7ec39924c44  bootinfo-0.1.0.tar.gz
"
